package com.pioneer.web.train.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pioneer.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Title:TrainCategory
 * Description:
 *
 * @Author 罗熠轩
 * @Date 25/2/2025 AM10:01
 * @Version 1.0
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("train_category")
public class TrainCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long newsId;

    private Long categoryId;

    private String code;

    private String name;
}
